const path = require('path')
function resolve(dir) {
  return path.join(__dirname, dir);
}

module.exports = {
  lintOnSave: false,   // 关闭验证

  chainWebpack: (config) => {   // 这里只写了两个个，你可以自己再加，按这种格式.set('', resolve(''))    需要重启 IDE
    config.resolve.alias
      .set('@', resolve('src'))
      .set('styles', resolve('src/assets/style'))
  }
}